﻿<Canvas xmlns="http://schemas.microsoft.com/client/2007"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Name="answer"
        Background="Transparent"
        Height="500"
        >

  <Canvas.Resources>
    <Storyboard x:Name="animation" RepeatBehavior="forever">
      <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
        <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF080808"/>
        <SplineColorKeyFrame KeyTime="00:00:04" Value="#FFF22323"/>
      </ColorAnimationUsingKeyFrames>
    </Storyboard>
  </Canvas.Resources>
  <Rectangle Width="443" Height="10" Stroke="#FF000000" Canvas.Left="56" Canvas.Top="20" x:Name="rectangle" Fill="#FFF20E0E"/>
</Canvas>